import request from "@/utils/request.ts";

export function getLoginCode(phone: string) {
    return request.get(`/sms/send/${phone}`)
}

export function login(data: any) {
    return request.post("/user/login", data)
}
